<script src="__ADMIN__/js/jquery-1.11.0.js" 								type="text/javascript" charset="utf-8"></script>
<script src="__ADMIN__/plugins/layui/layui.all.js" 				type="text/javascript"></script>
<script src="__ADMIN__/plugins/layui/selectMultiple.js" 				type="text/javascript"></script>
<script src="__ADMIN__/myLib/common.js" 								type="text/javascript" ></script>
<script src="__ADMIN__/js/ajaxForm.js"   									type="text/javascript" ></script>
<script src="__ADMIN__/js/user.js?v=1.8" 									type="text/javascript"></script>
<script src="__ADMIN__/js/formSelects-v4.js"                       type="text/javascript" charset="utf-8" ></script>
<script type="text/javascript" charset="UTF-8">
    function bigimg(d) {
        layer.photos({
            photos: '#layer-photos-demo'
            ,anim: 4//0-6的选择，指定弹出图片动画类型，默认随机（请注意，3.0之前的版本用shift参数）
        });
    }
    //单击行勾选checkbox事件
    $(document).on("click",".layui-table-body table.layui-table tbody tr", function () {
        var index = $(this).attr('data-index');
        var tableBox = $(this).parents('.layui-table-box');
        //存在固定列
        if (tableBox.find(".layui-table-fixed.layui-table-fixed-l").length>0) {
            tableDiv = tableBox.find(".layui-table-fixed.layui-table-fixed-l");
        } else {
            tableDiv = tableBox.find(".layui-table-body.layui-table-main");
        }
        var checkCell = tableDiv.find("tr[data-index=" + index + "]").find("td div.laytable-cell-checkbox div.layui-form-checkbox I");
        if (checkCell.length>0) {
            checkCell.click();
        }
    });

    $(document).on("click", "td div.laytable-cell-checkbox div.layui-form-checkbox", function (e) {
        e.stopPropagation();
    });
</script>